import { createWebHistory, createRouter } from "vue-router";

import home from '../views/index.vue'
import index from '../views/pc/index.vue'
import etc from '../views/pc/etc.vue'
import streaming from '../views/pc/streaming.vue'
import indexiphone from '../views/iphone/index.vue'
import etciphone from '../views/iphone/etc.vue'
import streamingiphone from '../views/iphone/streaming.vue'
const routes = [
  { path: "/", component: home },
  { path: "/index", component: index },
  { path: "/etc", component: etc },
  { path: "/streaming", component: streaming },
  { path: "/indexiphone", component: indexiphone },
  { path: "/etciphone", component: etciphone },
  { path: "/streamingiphone", component: streamingiphone },
];

const router = createRouter({
  history: createWebHistory(),
  routes,
});
export default router